Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Re-Image Functionality Now Includes 'Upgrade' Call #1612

Merged

Conversation

nharper285
Copy link
Contributor

Summary of the Pull Request

What is this about?
Currently, OneFuzz re-images VMSS nodes when jobs are complete and after 7 days. I've included a new call to begin_update_instances() which 'upgrades' nodes before they re-image.

PR Checklist

  • Applies to work item: #xxx
  • CLA signed. If not, go over here and sign the CLI.
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request

What does this include?
Changes to vmss.py.

Validation Steps Performed

How does someone test & validate?
I'm manually testing to see if a node is upgraded before it's reimaged. I've done this test by changing the timer from 7 days to 1 hour.

  • Re-Imaged VMSS node is also upgraded.

@nharper285 nharper285 merged commit f374801 into microsoft:main Jan 26, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Feb 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants